<%@ page language="java" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="content-type" content="text/html;charset=utf-8">
	<%@include file="/views/common/include/taglib.jsp"%>
    <%@include file="/views/common/include/head.jsp"%>
	<link rel="stylesheet" href="${ctx}/css/page/reset.css" type="text/css">
	<link rel="stylesheet" href="${ctx}/css/page/header.css"type="text/css">
	<link rel="stylesheet" href="${ctx}/css/page/footer.css" type="text/css">
	<link rel="stylesheet" href="${ctx}/css/page/zhmm.css" type="text/css">
</head>
	
<body>
	<div class="headerbg">
		<div class="contentboxh">
			<div class="padd">
				<div id="logo">
					<img src="${ctx}/images/page/logoheader.png"/>
					<img src="${ctx}/images/page/guangaoci.png"/>
				</div>
				<div id="menu">
					<ul>
						<li><a href="${ctx}/index?item=1">首页</a></li>
	                <li><a href="${ctx}/index?item=2">关于我们</a></li>
	                <li><a href="${ctx}/index?item=3">合作加盟</a></li>
	                <li><a href="${ctx}/index?item=4">招贤纳士</a></li>
	                <li><a href="${ctx}/index?item=5">客户端</a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<div class="bg">
		<div class="contentbox1 contentbox">
			<div class="padd1">
				<p style="margin-top:0;"><span style="font-size:25px;">找回密码</span><span><a href="${ctx}/index?item=1"  style="float:right;color:#57B4C6;margin-top:10px;font-size:16px;">返回>></a></span></p>
				<hr/ style="color:#CACACA">
			</div>
		
			<div class="text-box">
				<div class="rela-wrap ">
					<div class=" p-box f-wrap">
						
							<p class="p1">第一步</p>
							<p class="p2">第二步</p>
					
					</div>
					<div class="picbox">
						
							<img src="${ctx}/images/page/zh1.png" />
						
					</div>
					<div class="input-box f-wrap">
						
							<p class="p1">验证身份</p>
							<input id="userId" type="hidden" value="${user.id }"> 
							<input id="loginName" type="hidden" value="${user.loginname }">
							<div class="in-box "><input type="text" id="phone" value="${user.phone}" placeholder="请输入您注册时使用的账号或手机号码"></div>
							<div class="in-box " style="margin-top:27px;">
							<input id="sixCode" type="hidden"/>
							<input type="text" style="width: 275px;" id="phoneCode" onblur="checkCode();" placeholder="请输入您收到的短信验证码">
							<button id="sendcode" class="yanzm">获取验证码</button>
							<input id="resendTime" type="hidden" value="${resendTime }"/> 
					        <span id="warning" style="color:red;display:block;margin-top:-24px;margin-left:420px;font:12px 微软雅黑  "></span> 
							</div>
							<p class="in-p" style="margin-top:37px;">修改信息</p>
							<div class="in-box "style="margin-top:27px;"><input id="newPwd" onblur="checkNewPwd();" type="password" placeholder="请输入新的6-15位登陆密码"></div>
							<div class="in-box " style="margin-top:30px;"><input id="newPwd1" onblur="checkNewPwd1();" type="password" placeholder="请确认一遍您的新密码"></div>
							<div class="in-box " style="margin-top:33px;"><button onclick="savePassword()" class="change-p">修改密码</button></div>
						
					</div>
				</div>
			</div>
		
		</div>
		
	</div>
	<div class="footer">
		
		<div class="contentbox6 contentbox">
				<div class="padd">
					<div class="footlogo"><img src="${ctx}/images/page/foot.png"></div>
					<div class="foottext">
						<h4>联系电话：027-81717800</h4>
						<p>Copyright 2014-2016武汉当代生活电子商务科技有限公司</p>
						<p>浙ICP14035801号</p>
					</div>
					<div class="erweima">
						<img src="${ctx}/images/page/erweima.png">
						<img src="${ctx}/images/page/erweima.png">
					</div>
				</div>
		</div>
	</div>
	
	<script src="${ctx}/js/common/findPassword.js" type="text/javascript"></script>
	<script type="text/javascript"> 
		/* document.getElementById("myFrom").reset(); */
	</script> 
 	<script type="text/javascript"> 
 		var ctx = '${ctx}';
 		setCtx(ctx);
 		var phone = $("#phone").val();
// 		$("#phone").val(phone.substr(0,3) + "****" + phone.substr(7,phone.length+1));
 	</script> 
	<!-- 解决ie 6 7 8 9不能显示placeholder的问题 --> 
 	<script src="${ctx}/js/lib/jquery.JPlaceholder.js"></script> 
</body>
</html>




















<%-- <%@page language="java" pageEncoding="UTF-8"%> --%>
<!-- <!DOCTYPE html> -->
<!-- <html class="root61"> -->
<!-- <head> -->
<%-- <%@include file="/views/common/include/taglib.jsp"%> --%>
<%-- <%@include file="/views/common/include/head.jsp"%> --%>
<%-- <link type="text/css" rel="stylesheet" href="${ctx }/css/dlifestyle/sectionparent.css" source="widget" /> --%>
<%-- <link type="text/css" rel="stylesheet" href="${ctx }/css/dlifestyle/admin.css" source="widget" /> --%>
<%-- <link type="text/css" rel="stylesheet" href="${ctx}/css/dlifestyle/table.css" /> --%>
<!-- </head> -->
<!-- <body style="margin:0px;"> -->
<!-- 	<section class="mainborder"> -->
<!-- 		<section class="edit_scrollable padder"> -->
<!-- 			<div class="edit_content"> -->
<!-- 				<form id="myFrom"> -->
<!-- 					<div class="form"> -->
<!-- 					<div class="item"> -->
<!-- 							<label class="col-sm-1 editlable">手机号：</label> -->
<%-- 							<input id="userId" type="hidden" value="${user.id }"> --%>
<%-- 							<input id="loginName" type="hidden" value="${user.loginname }"> --%>
<!-- 							<div class="fl"> -->
<%-- 								<input class="editform-control" id=""  type="text" class="text" maxlength="50" readonly="readonly" value="${user.phone }"/> --%>
<!-- 							</div> -->
<!-- 					</div> -->
<!-- 					<div class="item"> -->
<!-- 							<label class="col-sm-1 editlable">验证码：</label> -->
<!-- 							<input id="sixCode" type="hidden"/> -->
<!-- 						<div class="fl" style="width:55%"> -->
<!-- 						<input class="editform-control" style="width:35%" id="phoneCode" onblur="checkCode();" type="text" class="text" maxlength="50"  placeholder="请输入6位验证码"/><em class="emStyle">*</em>	 -->
<!-- 					    <button id="sendcode" style="cursor:pointer;background: #ffaa00;height:25px;width:70px;border:0;margin-top:6px;color:white;margin-left:12px;border-radius:10px;font:12px 微软雅黑">发送短信</button> -->
<%-- 					    <input id="resendTime" type="hidden" value="${resendTime }"/> --%>
<!-- 					    <span id="warning" style="display:block;margin-top:-24px;margin-left:210px;font:12px 微软雅黑  "></span> -->
<!-- 					   </div> -->
<!-- 					 </div> -->
<!-- 					<div class="item"> -->
<!-- 		                   <label class="col-sm-1 editlable">新密码：</label> -->
<!-- 		                   <div class="fl"> -->
<!-- 								<input class="editform-control" id="newPwd" onblur="checkNewPwd();" type="password" class="text" maxlength="150" placeholder="请输入新密码" /> -->
<!-- 								<em class="emStyle">*</em> -->
<!-- 							</div> -->
<!-- 		               </div> -->
<!-- 					<div class="item"> -->
<!-- 							<span class="col-sm-1 editlable">确认密码：</span> -->
<!-- 							<div class="fl"> -->
<!-- 								<input class="editform-control" id="newPwd1" onblur="checkNewPwd1();" type="password" class="text" maxlength="150" placeholder="请再次输入新密码" /> -->
<!-- 								<em class="emStyle">*</em> -->
<!-- 							</div> -->
<!-- 					</div> -->
<!-- 					</div> -->
<!-- 				</form> -->
<!-- 			</div> -->
<!-- 		</section> -->
<!-- 	</section> -->
<%-- <script src="${ctx}/js/common/findPassword.js" type="text/javascript"></script> --%>
 	
<!-- </body> -->
<!-- </html> -->
